import request from '@/utils/request'

export function getHospitalList(data){
    return request({
        url:'/hospitallist',
        method:'get',
        params:data
    });
}

export function editHospital(data){
    return request({
       url:'/edithospital',
       method:'post',
       data:qs.stringify(data)
    });
}

export function getHospitalInfo(data){
    return request({
       url:'/hospitalinfo',
       method:'get',
       params:data
    });
}

export function delHospital(data){
   return request({
      url:'/delhospital',
      method:'get',
      params:data
   });
}
